For finding an xpath for Google search, we write the below line in console, but at the time of pressing enter by keyboard it shows syntax error.
$x{*//title[text()='selenium - Google Search']*}
Syntax error which it shows:
SyntaxError: Unexpected token {
message: "Unexpected token {"
stack: (...)
get stack: function () { [native code] }
set stack: function () { [native code] }
__proto__: Error